//
//  FMRichTextView.h
//  TestDemo
//
//  Created by fengxijun on 4/21/16.
//  Copyright © 2016 goappbox. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol FMRichTextViewDelegate;

@interface FMRichTextView : UIScrollView

- (instancetype)init NS_UNAVAILABLE;

- (instancetype)initWithFrame:(CGRect)frame;

- (instancetype)initWithCoder:(NSCoder *)aDecoder;

@property (nonatomic, copy) NSString *text;

@property (nonatomic, copy) NSAttributedString *attributedText;

@property (nonatomic, strong) UIFont *font;

@property (nonatomic, strong) UIColor *textColor;

@property (nonatomic, assign) CGFloat lineSpace;

@property (nonatomic, assign) NSLineBreakMode lineBreakMode;

@property (nonatomic, weak) id <FMRichTextViewDelegate> delegate;

@end

@protocol FMRichTextViewDelegate <NSObject,UIScrollViewDelegate>

@end
